package com.chen.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chen.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单重试列表
 * </p>
 *
 * @author 陈永鹏
 * @since 2019-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("zs_retry_order")
public class RetryOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "ro_id", type = IdType.AUTO)
    private Integer ro_id;

    /**
     * 订单ID
     */
    private Integer o_id;

    /**
     * 重试次数
     */
    private Integer retry_count;

    /**
     * 是否成功，0没成功 1成功
     */
    private Boolean is_success;

    /**
     * 重试的日志
     */
    private String log;

    /**
     * 是否在队列 1在 0移除队列
     */
    private Boolean in_queue;


}
